/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 12/19/2010 
           
            */


using System;
using System.Collections.Generic;
using System.Text;


namespace BusinessObject
{
    /// <summary>
    /// This is MatHang object, it is object of BusinessObject table.
    /// </summary>
    public class MatHang
    {
        #region fields
        private string maMatHang;
        private int maLoaiHangHoa;
        private int maNhom;
        private string tenMatHang;
        private string tenNuocSX;
        private int maNuocSanXuat;
        private string hieu;
        private double giaBan;
        private int dVT;
        private int maXe;
        private string ghiChu;
        private string maPhuTung;
        private string curencyCode;
        private int order;
        private Boolean isPublished;
        private string createdBy;
        private DateTime createdDate;
        private string lastUpdatedBy;
        private DateTime lastUpdatedDate;
        private Paging objPaging;

        private SortOrder objSortOrder;

        private string condition;

        private int toltalRow;


        #endregion fields

        #region constructor
        /// <summary>
        /// Define default constructor for MatHang Object
        /// </summary>
        public MatHang()
        {
            this.maMatHang = string.Empty;
            this.maLoaiHangHoa = int.MinValue;
            this.tenMatHang = string.Empty;
            this.maNuocSanXuat = int.MinValue;
            this.hieu = string.Empty;
            this.ghiChu = string.Empty;
            this.order = int.MinValue;
            this.isPublished = true;
            this.createdBy = string.Empty;
            this.createdDate = DateTime.MinValue;
            this.lastUpdatedBy = string.Empty;
            this.lastUpdatedDate = DateTime.MinValue; this.objPaging = new Paging();
            this.objSortOrder = new SortOrder();
            this.condition = string.Empty;
            this.toltalRow = 0;
            this.tenNuocSX = string.Empty;
            this.giaBan = double.MinValue;
            this.dVT = int.MinValue;
            this.maXe = int.MinValue;
            this.maPhuTung = string.Empty;
            this.curencyCode = string.Empty;
            this.maNhom = int.MinValue;
        }
        #endregion constructor
        #region properties

        public string TenNuocSX
        {
            get { return this.tenNuocSX; }
            set { this.tenNuocSX = value; }
        }
        public string CurencyCode
        {
            get { return this.curencyCode; }
            set { this.curencyCode = value; }
        }

        public int MaXe
        {
            get { return this.maXe; }
            set { this.maXe = value; }
        }

        public string MaPhuTung
        {
            get { return this.maPhuTung; }
            set { this.maPhuTung = value; }
        }
        /// <summary>
        /// Define MaMatHang Property
        /// </summary>
        public string MaMatHang
        {
            get { return this.maMatHang; }
            set { this.maMatHang = value; }
        }
        /// <summary>
        /// Define MaLoaiHangHoa Property
        /// </summary>
        public int MaLoaiHangHoa
        {
            get { return this.maLoaiHangHoa; }
            set { this.maLoaiHangHoa = value; }
        }
        public int MaNhom
        {
            get { return this.maNhom; }
            set { this.maNhom = value; }
        }
        /// <summary>
        /// Define dVT Property
        /// </summary>
        public int DVT
        {
            get { return this.dVT; }
            set { this.dVT = value; }
        }
        /// <summary>
        /// Define TenMatHang Property
        /// </summary>
        public string TenMatHang
        {
            get { return this.tenMatHang; }
            set { this.tenMatHang = value; }
        }
        /// <summary>
        /// Define MaNuocSanXuat Property
        /// </summary>
        public int MaNuocSanXuat
        {
            get { return this.maNuocSanXuat; }
            set { this.maNuocSanXuat = value; }
        }
        /// <summary>
        /// Define Hieu Property
        /// </summary>
        public string Hieu
        {
            get { return this.hieu; }
            set { this.hieu = value; }
        }
        /// <summary>
        /// Define GhiChu Property
        /// </summary>
        public string GhiChu
        {
            get { return this.ghiChu; }
            set { this.ghiChu = value; }
        }
        public double GiaBan
        {
            get { return this.giaBan; }
            set { this.giaBan = value; }
        }
        /// <summary>
        /// Define Order Property
        /// </summary>
        public int Order
        {
            get { return this.order; }
            set { this.order = value; }
        }
        /// <summary>
        /// Define IsPublished Property
        /// </summary>
        public Boolean IsPublished
        {
            get { return this.isPublished; }
            set { this.isPublished = value; }
        }
        /// <summary>
        /// Define CreatedBy Property
        /// </summary>
        public string CreatedBy
        {
            get { return this.createdBy; }
            set { this.createdBy = value; }
        }
        /// <summary>
        /// Define CreatedDate Property
        /// </summary>
        public DateTime CreatedDate
        {
            get { return this.createdDate; }
            set { this.createdDate = value; }
        }
        /// <summary>
        /// Define LastUpdatedBy Property
        /// </summary>
        public string LastUpdatedBy
        {
            get { return this.lastUpdatedBy; }
            set { this.lastUpdatedBy = value; }
        }
        /// <summary>
        /// Define LastUpdatedDate Property
        /// </summary>
        public DateTime LastUpdatedDate
        {
            get { return this.lastUpdatedDate; }
            set { this.lastUpdatedDate = value; }
        }
        public Paging ObjectPaging
        {
            get { return this.objPaging; }
            set { this.objPaging = value; }
        }
        public SortOrder ObjectSortOrder
        {
            get { return this.objSortOrder; }
            set { this.objSortOrder = value; }
        }
        public string Condition
        {
            get { return this.condition; }
            set { this.condition = value; }
        }
        public int ToltalRow
        {
            get { return this.toltalRow; }
            set { this.toltalRow = value; }
        }

        #endregion properties
    }
}